package com.hamster.crm.service;

import com.hamster.crm.pojo.CourseTask;
import com.hamster.crm.pojo.CourseTaskResult;
import com.hamster.crm.util.PageResult;

import java.util.List;

/**
 * @author Tarry
 * @create 2019/12/19 14:21
 */

public interface CourseTaskService {
    void insertCourseTask(CourseTask courseTask);

    List<CourseTask> listCourseTasks();

    void deleteCourseTaskById(List<String> ids);

    void updateCourseTaskStateById(List<String> ids);

    PageResult<CourseTaskResult> listCourseTaskResults(String title, String participant, Integer currentPage, Integer pageSize);

    List<CourseTaskResult> listTaskByEmployeeId(String employeeId, String taskId);
}
